import { Controller, Get, Post } from '@nestjs/common';
import { TablemodelService } from './tablemodel.service';

@Controller('tablemodel')
export class TablemodelController {
  constructor(private readonly tablemodelService: TablemodelService) { }

  @Post('add')
  addTableModel() {
    return this.tablemodelService.addTableModel()
  }

  @Get('page')
  getTableModelPage() {
    return this.tablemodelService.getTableModelPage()
  }
}
